From 990718d0bda74763a4dd59cd9aad0e80a5b47f80 Mon Sep 17 00:00:00 2001 From: Christian Limpach Date: Wed, 28 Feb 2007 10:40:52 +0000 Subject: [PATCH] [XEN] No need to change the compat mode of the guest in xen. The tools set the compat mode already explicitly. Signed-off-by: Christian Limpach --- xen/common/domctl.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xen/common/domctl.c b/xen/common/domctl.c index f7fe2d61ba..b5feea0cbf 100644 --- a/xen/common/domctl.c +++ b/xen/common/domctl.c @@ -342,11 +342,6 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domctl_t) u_domctl) if ( (d = domain_create(dom, domcr_flags)) == NULL ) break; -#ifdef CONFIG_COMPAT - if ( IS_COMPAT(current->domain) && ((ret = switch_compat(d)) != 0) ) - break; -#endif - ret = 0; memcpy(d->handle, op->u.createdomain.handle, -- 2.30.2